import { Component } from "react";
import { connect } from "react-redux"
class Home extends Component {
  render() {
    return <div className="home">{this.props.username}</div>;
  }
}



export default connect(
  state => ({ username: state.username })
)(Home);